SDL windows main (to prevennt the default lib conflict warning)
initial code based on gd-proto