fix for linux epoll
use other clib object for pthread (linux need to load it seperately)
fix test