Fix delays functions for new AVR libs