Add CPP magic for GHC 7.10 compatibility