patch applied (cabal): Use the cc, cpp and ld options when checking foreign headers and libs