move jar files to lib/optional and modify build.xml