- fix compilation on python > 3