Separation of UNIX and WIN32 build information in CMakeLists

Also using mxe's cmake cross-compilation file for successful compilation for windows. (Except a few build errors I'm working on)