Make reader_check test work in Windows