fix to postgres libs