auto compile for mac