Attempt to resolve the build issues with ruby1.8 and use rubocop on
higher ruby versions