include libgen.h in hu_stuff.c for basename()

thanks to Henri Kemppainen for the patch