metasm_prepare: tweak for osx