/* Add some compiled in search paths if defined at compile time */
 #ifdef CA65_INC
-    AddSearchPath (IncSearchPath, CA65_INC);
+    AddSearchPath (IncSearchPath, STRINGIZE (CA65_INC));
 #endif
 
     /* Add specific paths from the environment */
 
 
     /* Add some compiled in search paths if defined at compile time */
 #ifdef CC65_INC
-    AddSearchPath (SysIncSearchPath, CC65_INC);
+    AddSearchPath (SysIncSearchPath, STRINGIZE (CC65_INC));
 #endif
 
     /* Add specific paths from the environment */
 
 
 
 
+/* Convert argument to C string */
+#define _STRINGIZE(arg) #arg
+#define  STRINGIZE(arg) _STRINGIZE(arg)
+
 /* A search path is a pointer to the list */
 typedef struct Collection SearchPath;
 
 
 
     /* Add some compiled in search paths if defined at compile time */
 #if defined(LD65_LIB)
-    AddSearchPath (LibSearchPath, LD65_LIB);
+    AddSearchPath (LibSearchPath, STRINGIZE (LD65_LIB));
 #endif
 #if defined(LD65_OBJ)
-    AddSearchPath (ObjSearchPath, LD65_OBJ);
+    AddSearchPath (ObjSearchPath, STRINGIZE (LD65_OBJ));
 #endif
 #if defined(LD65_CFG)
-    AddSearchPath (CfgSearchPath, LD65_CFG);
+    AddSearchPath (CfgSearchPath, STRINGIZE (LD65_CFG));
 #endif
 
     /* Add specific paths from the environment */