nupic.rootDir replaced by os.environ['NUPIC']