Make hf compile with Haskell Platform 2012.4.0.0