adjust imports to satisfy GHC 7.4 and above