Update platform-specific code.