Change script call/ret code to avoid evil casting
Native amd64 support
Also implement x32 support
Adjust travis for native amd64 builds

This (mostly) reverts commit af30bb8316849e96fca2764738d0d3e0060c9be7.