osx not to append arch to library path