Switched standard to c++0x for older compiler support