Building extensions into libpostgres

the dynamic linker is for the weak