Mozilla: fix compilation on OSX, where we don't use libX11