NO-JIRA: Get executable test to work on Windows by using a static library