Fixing yarp-config compilation on Windows and string-related inconsistencies