Removed warnings when using Visual C++