Rename compile to generate_code on each platform instance