fix reference to resources directory on OS X
Merge pull request #64 from birarda/master

fix reference to resources directory via switchToResourcesParentIfRequired