Use the umbrella build system
Remove dependency on generics and fix the build for ghc-7.4.x