sync
fixes for C89, Windows
build system for C lib and examples