fix configure script for --with-Xaw and --with-gtk