Fix compile error in runguard.