add lirc.c hotfix by kls