Couple BSD_SOURCE with DEFAULT_SOURCE for recent GNU libc compat

Recent versions of GNU libc will emit warnings when _BSD_SOURCE
is defined without _DEFAULT_SOURCE is not.
The rationale from libc's standpoint here is that _BSD_SOURCE and
_SVID_SOURCE will now be merged in the single _DEFAULT_SOURCE
macros.
Without this, the build breaks at -Werror.