move pthread flags/libs to autoconf defines so available to library proper and external tests/examples
Merge branch 'master' of github.com:cyassl/cyassl