make dist directory for legacy code