Enable GNU extensions of the C library

This should export O_CLOEXEC on older systems where it is only
available when _GNU_SOURCE is defined.
Thanks to antijn for spotting this, fixes #1.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>