fix if statements for mkdir

On branch master
Changes to be committed:

	modified:   lib/linuxkm.lib