add tc build script for osx