Add preamble to library files