Patches for PATCH: check_time for 64bit long systems  [sf#1185713] [#474]