Just do your best to be civil and polite to them. You don't have to go out of you way to be friendly if you don't feel like it. Just don't make it seem as though you're being rude either.

If they come over to talk to you then exchange some pleasantries. If you find yourself getting upset, then excuse yourself and go talk to other people