[unix] use _DEFAULT_SOURCE instead of _BSD_SOURCE as the latter is deprecated