Check bitness using void ptr size instead of system processor name

This approach is more robust and doesn't really on the system
processor name.
Merge pull request #522 from jcfr/build-system-check-bitness-using-void-ptr-size

Check bitness using void ptr size instead of system processor name