Change set literal to set constructor which should be compatible with python 2.6.