remove undefined references + fix newly added xdc.rov.Model.getStartFiles to include the recap
diff --git a/src/packages/xdc/rov/Model.xs b/src/packages/xdc/rov/Model.xs
index 00f6449..f99b105 100644
--- a/src/packages/xdc/rov/Model.xs
+++ b/src/packages/xdc/rov/Model.xs
@@ -42,12 +42,18 @@
         this.$private.recap = recap;
     }
     this.$private.files = [executable];
+    if (this.$private.recap) {
+        var path = this.$private.recap.$path;
+        if (path.indexOf("xdc/rov/noruntime.rov.xs") == -1) {
+            this.$private.files.push(path);
+        }
+    }
 
     xdc.useModule('xdc.rov.support.ScalarStructs');
 
     /* Read the ROV config file and/or sysconfig ROV file */
     var files = readConfig(executable);
-    this.$private.files.concat(files);
+    this.$private.files = this.$private.files.concat(files);
 
     /* Store off the list of all modules in the recap file */
     var mnames = [];
@@ -478,9 +484,6 @@
  */
 function getIOFReaderInst()
 {
-    if (this.$private.ofReader == null) {
-        getRecap(execPath);
-    }
     return (this.$private.ofReader);
 }
 
@@ -681,7 +684,7 @@
     if (rovConfig != "") {
         //try {
             var config = xdc.loadCapsule(rovConfig);
-            files.push(sconfig.$path);
+            files.push(config.$path);
             /* This code reads an array of declared constructed objects from
              * a ROV configuration file with the .rov.js extension.
              *  Example: