Add a new patch to fix build toolchain prefix/suffix

Add --ctng-legacy option and implement it a bit for OSX
Caveat: can't build 64bit legacy binaries due to a bug
in GMP configure on OSX.