Fixed race condition bug in ioqueue unregistration for select and Win32 IOCP backend

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@365 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjlib/build/Makefile b/pjlib/build/Makefile
index 0faadc1..6192ca0 100644
--- a/pjlib/build/Makefile
+++ b/pjlib/build/Makefile
@@ -23,7 +23,7 @@
 export PJLIB_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \
 	array.o config.o ctype.o errno.o except.o fifobuf.o guid.o \
 	hash.o list.o lock.o log.o os_time_common.o \
-	pool.o pool_caching.o rand.o \
+	pool.o pool_caching.o pool_dbg.o rand.o \
 	rbtree.o string.o timer.o \
 	types.o symbols.o
 export PJLIB_CFLAGS += $(_CFLAGS)
@@ -34,7 +34,7 @@
 export TEST_SRCDIR = ../src/pjlib-test
 export TEST_OBJS += atomic.o echo_clt.o errno.o exception.o \
 		    fifobuf.o file.o \
-		    ioq_perf.o ioq_udp.o ioq_tcp.o \
+		    ioq_perf.o ioq_udp.o ioq_unreg.o ioq_tcp.o \
 		    list.o mutex.o os.o pool.o pool_perf.o rand.o rbtree.o \
 		    select.o sleep.o sock.o sock_perf.o \
 		    string.o test.o thread.o timer.o timestamp.o \