Make /static resource configurable using extra vars
Install libpq-dev with other PostgreSQL routines