Update version flags after backporting to 1.3.3

Relates to #7857