enable c++11, disable gcc on osx in travis