Fix native reference test during automated testing on Windows.