Build succeeds with reference to BouncyCastleCrypto project.
Fix compiler warnings.