Updated windows binary and declared more functions as static