fix arm toolchain on macosx