Add missing include. Fix and clean boderplate for avr pwm.