[Test] Fix build of System.Core unit tests