fixes #45: package.json: add directories.dist for the changes of the behavior of cortex build