Fix #407 (NaCl build error)
Fix #407 (NaCl build error)

Apparently NaCl does not support thread_local. This was introduced with
the commit 'Use a static buffer for receiving IPC messages'.

DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon