Fix debuginfo

This PR fixes debuginfo tests on Windows.