Updated Mac compatibility file