Fix windows errors
	modified:   main.c
	modified:   portability.h