Fixed makelangdirs script bug