fix #33 Avoiding crash on old versions of wget