Unbreak cmake builds by skipping Darwin kernel plugin on non-Mac platforms