Removed warnings in windows compilation