Fixes bug with missing mkdirp lib