Cross-platform instance initialization