correctly calculate the path to tools.jar in case of "IntelliJ Platform SDK" (IDEA-114975)