Detect tre as regexp library replacement
Add missing windows build script
Fix example client for mingw build
Merge pull request #49 from e9925248/master

Various build fixes for using waf and mingw