added additional gcc flag for 'strdup'