Fixes `gulp jsdoc` for MacOSX

It was showing some strange behaviour on my machine: neither `gulp
jsdoc` or `gulp plato` was working for me.