fixed compiling on AIX 6.1
added 64bit only compile options for AIX
code: add time.h to fix compile warning
Merge remote-tracking branch 'upstream/master'