Improve the FindGtags to adapt windows