Silc build fix

Hi. The diff for the pull request is big, but I really only added patch number 005. Try it.

I'd like to make it better, but need to figure out how to make libtool do what I want.