fix build for ubuntu python