cd to proper libdir