Make the externals build on OS X