diff --git a/build/Compile.targets b/build/Compile.targets
index de4c872cc..fa9b0c141 100644
--- a/build/Compile.targets
+++ b/build/Compile.targets
@@ -36,26 +36,26 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+
+ We need https://github.com/dotnet/cli/issues/5464 fixed, so test platform is in a separate directory -->
@@ -146,13 +146,13 @@
+ $(SdkOutputDirectory)/**/*.dll" >
u=rw,g=r,o=r
+ $(SdkOutputDirectory)/**/*.so" >
u=rwx,g=rx,o=rx