No need for thsi script. Use ./autogen.sh --build-w32 instead.