ghc-7.6/7.8 import fix