(Trying to) make portable against python version.