Fix debuginfo tests

This PR fixes debuginfo tests on Windows.