issue #2771 physical

fix some compile error in win32