Switch to gnu99 for extensions (needed for fileno conversion function for fsyncing)