Move XOPEN_SOURCE definition to after c99-compatible compiler found