Make it working on native platforms.