Refine library version.