Makefile: added -D_BSD_SOURCE and removed #defines from src/