Add system var deprecation capability

And deprecate $*OS.