fixed make dist issues