[pacman-dev] [PATCH] Fix compile error when curl is not used