updated build file for osx