Revert "fix clang compile error:"

This reverts commit 0a5b1870eea0d4ff84ab451073e7b1e9091a826c.
fix typo and fix reverted commit
switch Lua's os.clock() to spring_time to fix too fast running clock (fix #3748)