switch to python3 as upstream dropped python2 support fixes -fno-common build parts from an earlier diff by daniel@ ok kn@