fix cabal setup for Mac OS X