fixed installation problem where ext-dir was not being created