added src lib public compile