testing/pptpd: bump to 1.40 and fix compilation