added windows support for external zimlib