Fix sprocket for rails 4.x