MNG-5620: LinkageError when CDI is in the classpath