Fixes travis build for postgresql