added for curl build