fix propagation of escodegen options