Removed annoying warning
Fixed Visual 10.0 compilation issues