Fixed the core unit test build.