main/targetcli: upgrade to 2.1_p37

and fix build

ref #3399
testing/snowball: build fix

needs perl