tips for building on a Mac