BLD: fix python 3 build