add bouncy castle to avoid key exchange mismatches with jdk7 JCE.
fix handling of relative executable paths