Check that `global` and `global.process` both exist.