added windows dll loading