avoid gnu linker flags on darwin