Specialize cbuilder functions and keep result alive