Fix mkinstalldirs permissions