Shift to GHC from haskell-compiler and moved include <endian.h> outside function definition