fixed compilation errors on arch linux x64

See also: https://aur.archlinux.org/packages/cairo-compmgr-git