We're not supporting 16-bit Windows, remove cast
Move OS-specific functions to make Windows porting easier.

times() is not supported on Windows, make it possible to build an
alternate implementation of app_tminterval without any #ifdefs
Put OS-dependent BIO functions into their own file as well.
update testssl to deal with .exe binary suffixes