Switched to Postgres 9.3.

Moved some setup to before_build.