Fix preprocessor directives for GHC 7.6.3