Replace xbuild with mdtool in Travis

because xbuild exits with 0 no matter what. #3905