Fixed lm::resourcePath() when not in a bundle on OS X