Fix static builds for Mac OS X
Merge pull request #1 from npinchot/wk_4.8.6

Fix static builds for Mac OS X