Fixes bug in postinstall script where grunt exec fails to run