issue #2771:  move include chipmunk and box2d to cpp