Conditional support in bindings code generator for overloaded functions