If it's a genuine polite compliment I just say 'thank you' no matter what the person looks like. Sometimes, genuine polite compliments also can be given at an inappropriate time, or unwanted.
If a woman is giving that look you described it might just be her way of saying she's not interested.