Update perl to 5.18.1, simplify smoketest_perl and versions a bit.