fixed "unused variable" and some timeq errors when not using threads on compile