c: Ensure that the mouse example compiles on non-Windows too