Fix bug #1 platform.system = Darwin, fix check if platform is supported