fix cairo linking to libpng