Added CPP macros for ghc7.0