Cabal's configure doesn't notice missing headers