Fix FLAGS for curl