compat 1.1: remove refs to newer variables

Closes #1841
Merge pull request #1859 from OCamlPro/11-compat-vars

compat 1.1: remove refs to newer variables