The compiler warns that _BSD_SOURCE is deprecated and _DEFAULT_SOURCE should be used instead. We keep _BSD_SOURCE for older compilers, that don't know about _DEFAULT_SOURCE.
The linker drops the tool when linking. So we need to tell the linker, that the tool should be linked anyway.