Fixing a bug with linux interrupts.