install curl and pkg-config