Added patches to compile on freebsd

These are currently pull requests:
https://github.com/strophe/libstrophe/pull/30
https://github.com/strophe/libstrophe/pull/37

Once these are merged, and a new release is made, this commit can be
reverted.