1.0.17.39: fix build on SIG_INTERRUPT_THREAD-less platforms