Fix Heroku builds for pg