Can't complile TimeAlarm library without getting error Alarm out of scope