fix set syntax for 2.6 compat
cherry pick f1b517e08bffbd3 for fix for syntax error on install