Splitting out libasf_metadata, warning fixes