Single source, config files, for warnings for both autotools and CMake. Update CMake libraries, tools, tests to use correct flags.