Fix debug packaging on Mac OS.