Build configuration changes to support s390 / zLinux

These are based on the powerpc changes
https://github.com/andrewlow/node/commit/367d39d61a5861adc156507f38449948ef79b57c

64bit support sketched in, but may not be working. 31bit tested.