Updated CMakeList to work on MSVC.