Fixed resource path issue, OSX