Windows port: fix build errors in testshade/testrender.