Fix python building.