Core/Battle.net: Added missing include and fixed a warning