portability fixes

add MSVC/ARM ifdef's for time_t and clock_t to statisfy a minimum of
32-bits in length