cabal: The program ghc version >=6.4 is required but the version of /usr/local/bin/ghc could not be determined.