You could try either the `rootpath` or `relativeUrls` options described here: http://lesscss.org/#usage

Otherwise, [file an issue with LESS](https://github.com/less/less.js/issues). I'm sure they'd like to hear about it and may even provide a workaround.