remove deprecated libraries directory