build: made the windows build to link statically to runtime libs