Fix native functions on ARM