more dynamic way to define dependency to tools.jar