Update trace.c

Include <std> libraries before "local" ones, to reduce compiling issues.