fix lirc compile and move its build dir to the right place