Fix rubocop issues so that it will build