modified the resource paths on OS X to use the app package resources directory