fix has_asset_pipeline? for rails 4