Fix CMake error in case PREDEFINED_MACROS string is empty.
For Travis CI - switch CI build to use OS X build environment.