fix a small bug in Find3rdParty.cmake