updated libut (getprogname() is not available on linux)