Setup OS variables in binding.gyp for cross-platform builds