libxrandr: Fix splitting, use pkgconfig+auto-deps, kill static