Some stuff for easier Haskell packaging