fixed build for demo on windows msvc