diff --git a/repos/mml/run/thread_test.run b/repos/mml/run/thread_test.run
index 78253eb94e..68938d5db8 100644
--- a/repos/mml/run/thread_test.run
+++ b/repos/mml/run/thread_test.run
@@ -1,4 +1,4 @@
-build 'core init app/thread_test'
+build "core init timer app/thread_test"
create_boot_directory
install_config {
@@ -8,15 +8,36 @@ install_config {
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
}
-build_boot_image "core ld lib.so init thread_test"
-append qemu_args "-nographic -m 64"
\ No newline at end of file
+set boot_modules {
+ core init timer vfs.lib.so ld.lib.so libc.lib.so libm.lib.so stdcxx.lib.so posix.lib.so thread_test
+}
+build_boot_image $boot_modules
+append qemu_args "-nographic -m 64"
diff --git a/repos/mml/src/app/thread_test/target.mk b/repos/mml/src/app/thread_test/target.mk
index 08fff91cf6..9ee01c9bec 100644
--- a/repos/mml/src/app/thread_test/target.mk
+++ b/repos/mml/src/app/thread_test/target.mk
@@ -1,3 +1,4 @@
TARGET = thread_test
SRC_CC = thread_test.cc
-LIBS += base stdcxx
+LIBS += base libc libm stdcxx posix
+CXXFLAGS += -Wno-error