Merge pull request #1701 from dawgfoto/fix3502

workaround for OSX's ld64-77 linker bug