Fix libraries directory