add winglob object to library and fix include path allowing configure to
run on mingw out of the box (without aditional arguments).