Got unit test working on static version of lib for windows.

Change-Id: I2799c24431a5896e5da1ff30cf6f72bbe861fc0a
Reviewed-on: http://www.matthewh.me/gerrit/28
Reviewed-by: Matthew Hoggan <mehoggan@gmail.com>
Tested-by: Matthew Hoggan <mehoggan@gmail.com>