Seeeduino XIAO compilation error: Alternatives for util/delay.h: []

I would like to use the ssd1306xled.h library (https://github.com/tejashwikalptaru/ssd1306xled) to communicate with my LCD (OLED LCD Display 12864)

ResolveLibrary(util/delay.h)
Compilation error: Error: 2 UNKNOWN: exit status 1

How can I get this compiled without an error?

This is my test sketch

#include <Arduino.h>
#include <ssd1306xled.h>
void setup() {
    _delay_ms(40);
    SSD1306.ssd1306_init();
}
void run() {
    SSD1306.ssd1306_fillscreen(0);
    SSD1306.ssd1306_setpos(0, 1);
    SSD1306.ssd1306_string_font6x8("Hello world!");
}

Turned out the the library util/delay.h can not be used with a Seeeduino as it is not supported.