When resource's name is empty, set file name as resource name.
For Travis CI - switch CI build to use OS X build environment.