Import libpq-dev to be able to build psycopg2.