Fix windows detection for rake sunspot commands.