Check that Cairo is installed in configure.ac again

This was removed accidently in PR#18.

Commit licensed under MIT/X11.
Merge pull request #20 from akoeplinger/fix-dependency-check

Check that Cairo is installed in configure.ac again