fix path to libdir