rename variant name, avoid memory leak when attribute not found.
For Travis CI - switch CI build to use OS X build environment.