- fix compilation with older python versions