fixed standalone Python build for systems not having a Python 3
small redhat local build fixes