Added pre-processor check for O_CLOEXEC. Debian Squeeze chokes because _GNU_DEFINE is required to expose this define