compile fixes for Windows
bugfix of verbose=2 mode