Fix for auto resolving build deps with GHC 7.8