fix #104

ref discussions in #103
Merge pull request #105 from tanmaykm/tanmaykm

fix #104 and added Cairo