Fix dependency file generation problem in OS X.