INF-2361: patch to handle MongoDB JAR compatibility issues