tweaked dependencies to work on both new and old GHC installations