[idl] make yarp_idl_to_dir available during yarp compilation, see #209