fix compile error when exmaples/simple.c is compiled with libuv disabled (relates to #33)