Fix libfetch detection