change for windows & modify the found target strategy