fix osx bundle loading of required resources