Added static library Trace (not implemented for Windows), Added detect of OS