Fixing build setup to work with current Haskell Platform