oversight: copy flags for libraries