sample server: support build on win32