fix for rails 4 and sprokets >= 2.11