try to fix compile error on windows