clib: update to 1.4.0 and add HEAD version support

Closes #34674.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
clib: update 1.4.0 bottle.