Fix postgres build on travis