small tweaks to allow compilation with crossroad/ming-w64
add an example with Box2D