Resolved build issue with posgresql