Adapt included libraries of making on Mac OS X