Switch to C++11
Convert warnings to errors