fix issues with psycopg installtion