check for XI 2.2 in configure script