Enable core dump in mac