makefiles: Don't add msvcrt import in dlls built as part of the tests.