diff --git a/tools/setup.lisp b/tools/setup.lisp
index 405c6cda574969a87d98a09a549645181422ad12..703621b8392b356fc423da2aeecbd92cdfc3c6a5 100644
--- a/tools/setup.lisp
+++ b/tools/setup.lisp
@@ -267,7 +267,9 @@
 	 (obj (if output-file
 		  (pathname output-file)
 		  (make-pathname :defaults src
-				 :type (if *new-compile* "nfasl" "fasl"))))
+				 :type (if *new-compile*
+					   vm:target-fasl-file-type
+					   "fasl"))))
 	 (compiler #+new-compiler #'compile-file
 		   #-new-compiler (if *new-compile*
 				      #'c::ncompile-file