Conditionalise the calls to premsg and postmsg in uxcons.c's