Use xcrun to find nm and ranlib on OS X builds