Fixes the smoke runtime.
Actually fixes the runtime this time.
Third time's the charm.
Merge pull request #5877 from phil235/SmokeRuntimeFix

Fixes the smoke runtime.