Fix the asset pipeline check for Rails 4