Add CMakeLists.txt, partial MSVC port

I tried getting this project to build under visual studio but got stuck on a few files with non-ANSI characters; what are they and are they needed?

These included at least rt_util.c and modexlib.h