Don't mess with compile flags manually if CMake can do that for us.