Add arm64 compilation and stop integer conversion warnings.