imlib2: Fix splitting, use pkgconfig+auto-deps