Remove duplicate lib and fix classpath