Merge "Darwin: include <libgen.h> for basename(3)."