fixed #1940: custom box2d and chipmunk path

added ability to specify box2d and chipmunk path
Merge pull request #936 from Wu-Hao/master

fixed #1940: custom box2d and chipmunk path