Those are still compliments and are fine in any location. Actual sexual harassment is sexual bullying. "fuck me for a raise." The sexual harassment as you describe it, is an attempt to neuter the male perspective of reality. 
Curtis Duncan and Karen of Girlwriteswhat will help you learn what constitutes actual sexual harassment.