main/wget: fix build

we need perl for generate docs