move _XOPEN_SOURCE to Makefile