Fixed opcua core test for cmake.