Get rid of some warnings on Ubuntu.