Added #include <ctime> to fix tests on gcc 4.7

svn path=/trunk/libs/algorithm/; revision=83063