update msg template to generate empty functions without warnings about unused variables (fix #4)
update message targets to depend on template