Added LIRC_DRIVER env var to build it non-interactively. Added patch to select program name to irxevent. Disabled static variables.