MRQL-48: Fix global variable bindings in Spark and Flink modes