I mean, if that's how you look at putting a modicum of effort into social interaction, you've got to question whether you really value relationships with co-workers of the opposite sex at all.
I do, that's why I don't bother making any compliments. I just keep it polite and formal.