Added check for CAIRO version for create() method

As discussed in an short email chain, Since I have an older version of cairo, the create method would fail to compile. I just added a check around that function to prevent it from being built on older versions of CAIRO.