Fixed linker errors on Windows

Fixed some warning messages