Fix for older GHC releases