Fix the issue of installing dedupe on Mac OS X