Enables compilation with std=c++0x and std=c++11