made changes so mac build works