Compile libpq with ambuild