Add shared linker flags (required for clang on mac)