I bee trying to help with this. And already fixed the java and R issues (I think). I've been thinking on how to fix the other, but I would like some feedback first.
To fix the C and Fortran issue <https://github.com/JuliaLang/julia/issues/4821> (which basically consists on avoid constant-folding and propagation) I was thinking on write an external (configuration) file to hold the pertinent constants and read the constants from that file, so their values won't be known until running time. Would this seem a good solution?