support for GNU configure syntax
GNU ./configure syntax --libdir
lesser configure changes