Make msgbox compile and test pass on ubuntu.