fix: Fix static postgresql-12+
This fixes a string of errors when building static postgresql: x86_64-unknown-linux-musl-ld: (.text+0xc73): undefined reference to `pg_xyz'