Missing header for Linux build

dirname() requires "libgen.h"
tested on arch linux