[idl] make yarp_idl_to_dir generate code if code is not present