+ #endif
+
+ if (chdir (cpath_real) == -1)
+ {
+ log_error ("ERROR: %s: %s", cpath_real, strerror (errno));
+
+ return -1;
+ }
+
+ #if _WIN
+
+ naive_replace (cpath_real, '\\', '/');
+
+ // not escaping here, windows has quotes
+
+ snprintf (build_opts, sizeof (build_opts) - 1, "-I \"%s\"", cpath_real);
+
+ #else
+