included libgen.h (needed for basename) on all architectures except windows
(lead to pointer-from-integer on hurd-i386, kfreebsd-amd64, kfreebsd-i386)