fix python 3 build