Create the global environment in WiredTiger if it doesn't exist on init.

The only time I expect this to be triggered is when running tests. I'm
not sure if there is a better general solution.