fixed version checking for avr-libc