Fix unit test.
Add ".res" to the list of linker file extensions on Windows.