Use asset pipeline if defined Sprockets instead of checking for Rails version