llvm: fix universal and enable universal+shared builds

Closes #19822.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>