changes to work under osx
fixed cabal file