fix local layout getter in Windows

fix local layout test in Windows