Fix Wudevice End monitoring functions compile errors.