Solve classpath contains 'lead' folder problem in source build