Fix compile error with setTimeoutInterval.