fix build error on windows
update cmake makefile