Some CMake checks were recently switched from UNIX to LINUX to get them to not apply to macOS/OSX. Since LINUX doesn't seem to be defined, switch these checks to UNIX AND NOT APPLE.
Some CMake checks were recently switched from UNIX to LINUX to get them to not apply to macOS/OSX. Since LINUX doesn't seem to be defined, switch these checks to UNIX AND NOT APPLE.