This was very helpful but I couldn't get 1.2.22 to build at all. Before ./configure would run for me, I had to convert line endings from DOS to Unix in the following files:

native/configure
native/scripts/build/unix/config.sub
native/scripts/build/unix/config.guess
native/scripts/build/unix/missing

After that make gave me some errors.

1.2.21 was ok though and seems to be working.