build with curl