Added missing includes. Fixes #8957.