Add fix for GHC 7.4