Check if _XOPEN_SOURCE needs to be set