changed position of libpq-dev install to cap install