handle missing cffi/cairo