Fix Python3 builds