configure: fix arm osx build