This was not compatible with python2. Since it needs to run in the build environment, that is desirable. This should enable execution on python2.