added include <set>, fixes #23