switch to C++11
ignore vim swap files
restore optimizations