add osx to s.platform