make compilation fail when using python3