Add C++11

Enable C++11 on aojsubmit.