Ok this is turning into kind of a debugging session, but /home/kostav/julia/contrib/julia-config.jl --cflags
just run it on the command line. What's the output? What version of 0.4? Is it current as of a few days ago? In the version I'm using all is well. I will obtain/compile the latest