Tweaks to make Visual Studio compile.
WIP makefile.windows.
Implementation of get_time_of_day.