Fix GHC 7.4 build error with borked imports.