Issue #77. Add ENABLE_CAIRO option to make compilation against Cairo optional.
Proper handling of Image surface in cairo mask case.