implement __GNUC_PREREQ/__GLIBC_PREREQ on systems that don't have it