Move inclusion of system header files after platform.h.