[DF-4794] Compilation fix for not Android platforms.