diff --git a/compiler/Makefile b/compiler/Makefile
index c0110ac..971e1f6 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -113,7 +113,8 @@ include $(COMPILER_ROOT)/make/Makefile.compiler.rules
 #
 
 CHPL_CONFIG_CHECK_PREFIX = $(CHPL_BIN_DIR)/.built-for
-CHPL_CONFIG_CHECK = $(CHPL_CONFIG_CHECK_PREFIX)-$(CHPL_MAKE_COMPILER_SUBDIR)
+CHPL_CONFIG_CHECK_DIR = $(CHPL_CONFIG_CHECK_PREFIX)/$(CHPL_MAKE_COMPILER_SUBDIR)
+CHPL_CONFIG_CHECK = $(CHPL_CONFIG_CHECK_DIR)/built-for
 
 UPDATE_BUILD_VERSION = $(CHPL_MAKE_HOME)/util/devel/updateBuildVersion
 
@@ -123,7 +124,8 @@ $(BUILD_VERSION_FILE): FORCE
 	test -r $(BUILD_VERSION_FILE) || (echo '"0"' > $@);
 
 $(CHPL_CONFIG_CHECK): | $(CHPL_BIN_DIR)
-	rm -f $(CHPL_CONFIG_CHECK_PREFIX)-*
+	rm -rf $(CHPL_CONFIG_CHECK_PREFIX)
+	mkdir -p $(CHPL_CONFIG_CHECK_DIR)
 	echo $(CHPL_MAKE_COMPILER_SUBDIR) > $(CHPL_CONFIG_CHECK)
 
 
diff --git a/util/printchplenv b/util/printchplenv
index be9d86b..e66b1d2 100755
--- a/util/printchplenv
+++ b/util/printchplenv
@@ -209,7 +209,7 @@ def print_var(env_var, value, mode, short_name='', filters=None):
     elif mode == 'compiler' or mode == 'runtime' or mode == 'launcher':
         if not filters or mode in filters:
             if not print_var.first_time:
-                stdout.write(".")
+                stdout.write("/")
             else:
                 print_var.first_time = False
 
