go bindings: use static build flag for windows to fix mingw builds, use array sizes...