Add -std=c++11 compiler flag for OSX