Fix Darwin linker. Patch from Jean-Daniel Dupas.