Fix build issue on mobile systems