Compile haskell with optimisations.