Add ARM64 support

Fix build errors & add ARM64 support