Added library build option.