Fix CMake build

Fix the CMake build by adding missing source files to the CMake files. A full CMake build is still not possible because of linking errors but these occur with Autotools+Make, too.

I license these and all following changes to this repository under the LLVM license. Feel free to include my changes in upstream patches in any form not violating the license.