Try gnu99

It seems strdup actually isn't part of the c99 standard.