libxdamage: Fix splitting, use pkgconfig+auto-deps