strdup definition for linux