gyp: fix strdup warning on ubuntu