Add -std=c++11 for testing with Mavricks