Builds on arm64. DEBUGGER macro is disabled on arm64 for now.

Builds against arm64. Fixed 64-bit warnings.