Replace _BSD_SOURCE with _DEFAULT_SOURCE