Because they properly account for non-wage compensation?
To begin, multiply teacher salaries by (12 months/year)/(9 months worked). Throw in the value of 3 consecutive months of vacation, great health plan, defined-benefit pensions (the pension plans that will soon bankrupt most states), and "can't get fired" job security. You'll find that teachers are paid quite nicely.