Updates to darwin build