delete unused library path
change class output dir to target output dir