diff --git a/rostests/tests/D3DParseUnknownCommand_show/D3DParseUnknownCommand_show.rbuild b/rostests/tests/D3DParseUnknownCommand_show/D3DParseUnknownCommand_show.rbuild
index 127c5e51fc0..8a3162ef6ac 100644
--- a/rostests/tests/D3DParseUnknownCommand_show/D3DParseUnknownCommand_show.rbuild
+++ b/rostests/tests/D3DParseUnknownCommand_show/D3DParseUnknownCommand_show.rbuild
@@ -5,7 +5,7 @@
kernel32
gdi32
ddraw
- string
+ libcntpr
user32
main.c
\ No newline at end of file
diff --git a/rostests/win32/kernel32/tests/kernel32.rbuild b/rostests/win32/kernel32/tests/kernel32.rbuild
index e61be6a41a3..f0812f2131a 100644
--- a/rostests/win32/kernel32/tests/kernel32.rbuild
+++ b/rostests/win32/kernel32/tests/kernel32.rbuild
@@ -11,7 +11,7 @@
regtests
kernel32_base
pseh
- intrlck
+ libcntpr
msvcrt
-lgcc
-nostartfiles