* Issue #341:  Added detection of the environment for OS X.