removed use of a deprecated method
improved how bouncy-castle jars are detected and load. fixes #271