Fix `this`/strict mode detection in old browsers.

`global` is undefined in the browser, and this is a better strategy anyway.

The bad fix was introduced in #193.