Added support for older GHCs