fixing __GNUC_PREREQ use in Python binding