minor compatibility fixes in utmp.h and fixing mismatch with paths.h