resourceloader: Change getLessCompiler() to not be static