Fixed compilation commands for console and library projects on Windows.