fix libdir finding