lib/Makefile.am: fix CLEANFILES, add substitution for MKTEMP, else ninjahelper crashes