Revert "Try -std=c++0x flag if -std=c++11 is not accepted."

This reverts commit f387b67028d31418b51c0aa6d74f0b74d6ad5dd8.