setup.py: only link against frameworks on darwin