working on adding osx support for compiler