better jdk resolution, workaround https://github.com/typelevel/scala/issues/75
Merge pull request #667 from fommil/jdkDir

consistent use of JDK directory (and tools.jar)