[ASan tests] Fix non-Windows breakage