issue #2771: physical

fix some compile error in physics at win32 and android