Fix for bouncycastle deployment failure