fully working statically linkable on windows

fully working statically linkable on windows