cmake: Avoid python dependency on non-Mac systems

On Linux systems, with Linuxbrew, the current cmake build recipe will pull in Python and a large number of other system packages that Python depend on. This can cause some bad library dependency issues. This small fix skips the Python install on these systems. Moved from homebrew main recipe by request: Homebrew/homebrew#32601