Fix platform version mismatch between code and index.