Fix running in composer when no dist has been build before. (this will probably break some other stuff).