Mac linker fix