fixed inline bug from clang complier; add require m_time module for lua.