fixing build issue with arm64