fix some error for compiler windows version