Fixed issues with GHC HEAD. Also made the Category import only happen on
modern GHCs to avoid warnings.
version 0.3.4.1