Improve procedure for building on OS X