Compile platforms