replace deprecated 'sh' with 'Kernel::system' in build tools
message watcher was dropping all messages if no new ones were found

bugz: 26499