Fix CodeView library name and non-CMake builds