Fixed deprecated cmake python variable.