include --ghc-option=-prof when building with profiling.

because there's a bug in some versions of cabal that makes cabal not handle
--enable-executable-profiling correctly.