terrible hackery for rails 4 compat

nasty pasta from https://github.com/metaskills/less-rails/pull/43