Updated Mac compilation scripts