working Mac compile button