Added missing import for `platform` in tests/support.py for os x.