Fixed creation of dist directory