try to prevent sending [object Object] string to node-gyp