[PATCH] conf: Include libgen.h for basename(), fix build against musl