Fix for GHC 7.4