Fix the remaining linking errors when trying to build the tests on windows (#968)
There is a serie of commits to address the linking errors found in issue #968 (closed)
There is a serie of commits to address the linking errors found in issue #968 (closed)