Fix for older GHC versions