Fixes precompiling assets.

(https://github.com/sferik/rails_admin/issues/1343)