Add build toolchain and platform traceablity
Fix NULL not beeing defined on Linux platform