Use _DEFAULT_SOURCE instead of obsolete _BSD_SOURCE

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>