Add proper strdup definition.

mingw, your derpyness offends me.