A few fixes for GHC 7.8

Still need to fix Roles-related issues as mentioned Issue #19.