Fix dir creation in the install-dist script