rebuild platform files