diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
index 2e134e663a493b..ef9d3372f5ca92 100755
--- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
+++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
@@ -27,9 +27,10 @@ The .NET Foundation licenses this file to you under the MIT license.
$(IlcPath)\framework\
$(IlcFrameworkPath)
$(IlcPath)\mibc\
- windows
- osx
- $(OS)
+ windows
+ osx
+ freebsd
+ linux
true
false