main.cpp: Wrap Windows specific includes in ifdef
Exceptions should be caught and printed.

Signed-off-by: Peter Atashian <retep998@gmail.com>
Merge remote-tracking branch 'snake/master'