cmake: try -std=c++0x when -std=c++11 is not available