Native warnings fixes for msvc and clang

Add Mach hi-res timing support
Enable warnings in msvc