Fixed compiling under windows
Fixed compiling under windows
Fixed warnings
Modifed verbosity on warnings