Apply julia patches

Now that we have a fork, may as well apply these patches. One's for cross-compiling, the other for MSVC.
I forget the exact error messages (been a few months since I last looked at MSVC stuff), but there's a difference between MSVC in C mode, which still can't do C99 things like mixing declarations and statements, vs C++ mode. Usually MSVC picks based on the file extension, unless you specifically ask for a different mode with a compiler flag (`-Tp` IIRC). Just deleting these lines in C++ mode may have also been good enough, this was based on a recommendation I saw on SO from someone who had the same issue. I'll try to find it again.