Add --disable-cairo2 when the package is not present.