unix: fix warnings about dlsym