Fix mocha dependency issue.