binding.gyp.cmake: fix compilation when not setting target_arch