change cmakelists for windows and linux