support 10.6 and stop defaulting to to c++11 on OS X