Upgrading batch environment to C++11.