Fix lookupEnv on older GHC's
Require extra-0.7 for the withNumCapabilities fix