clang defines __arm64__. Use it for the conversions
Adds support for arm64