Complain if we're on windows and we can't load the native-platform stuff.
Take a copy of the environment before changing it.