Prepared the library for internal building.