fix build errors: LOCAL_LDLIBS := -lpthread -ldl