Added install script to recreate dist

On some versions of npm/node dist folder is deleted (best guess make clean is run) and package is unusable. This PR forces regeneration of dist files upon *npm install*.