Moved stdlib flags into src CMakeLists.txt.