diff --git a/gtests/net/packetdrill/Makefile.Linux b/gtests/net/packetdrill/Makefile.Linux
index 0c8b7ac..d377d64 100644
--- a/gtests/net/packetdrill/Makefile.Linux
+++ b/gtests/net/packetdrill/Makefile.Linux
@@ -1,2 +1,2 @@
-packetdrill-ext-libs := -lpthread -lrt -ldl -static
+packetdrill-ext-libs := -lpthread -lrt -ldl
 include Makefile.common
diff --git a/gtests/net/packetdrill/run_system_call.c b/gtests/net/packetdrill/run_system_call.c
index 7070fe5..399e59c 100644
--- a/gtests/net/packetdrill/run_system_call.c
+++ b/gtests/net/packetdrill/run_system_call.c
@@ -3429,7 +3429,8 @@ static void enqueue_system_call(
                /* Grab the lock again and see if the thread is idle. */
                DEBUGP("main thread: locking and reading state\n");
                run_lock(state);
-               if (state->syscalls->state == SYSCALL_IDLE)
+               if (state->syscalls->state == SYSCALL_IDLE || state->syscalls->state = SYSCALL_RUNNING)
+       //      if (state->syscalls->state == SYSCALL_IDLE)
                        done = true;
        }
        DEBUGP("main thread: continuing after syscall\n");
