Add missing include. Fix the following compiler warnings: