Fix testread so that it also compiles after windows implementation.