merge branch to get windows "library path" working. tweak build system,
eliminate several compiler warnings.