fixed configure script to correctly detect Xaw3d library