fix postgres dependencies