Compatibility with ancient GHC versions