Disabling the asserts with -DNDEBUG in CFLAGS causes a segmentation fault in _lthread_poller_ev_register_trigger () on Linux x86_64.