Fix make install for messages when not in the source tree. (dm)
Fix conditional compiling when using set/formatThreadName(). (dm)
Fix USE_KEY_TABLE() for key sets whcih are actually defined as NULL. (dm)