add windows support (static library only)