Adds per library compile types and a test library.