Recovered non-windows support with cmake

Updated CMake file to add the new source files.