Fixing https://github.com/rails/sprockets-rails/pull/36

applying https://github.com/rails/sprockets-rails/pull/36 to a current fork

fixing asset precompile task