Fix Microsoft C warnings.
Add a CMake file.