env.cxx: Modernize with C++11 features.