Updated systemtime to support Mac OS X