Updated tracing to have define to turn it off and compile on linux