#2 Fixed compilation and usage under Windows