Fix linker warning (or error?) when 3.0 SDK is (mis)used [#14638]