Adds an option to disable C++11 compilation