add macos specific ldflags
Fix misspelling of "bugfix"

:)
Prepare for 3.17.6