DELTASPIKE-479 workaround for old versions of weld