add julia_version.h and also export version info for DLL

I'm always confused by how Makefiles work, but cannot you call the taget `julia_version.h` without the `phony`, and avoid moving the file at the end?