make CC settable from env to simplify cross compiles
implement auto-detection of input event device paths