Fix variables syntax for older ruby versions.