Add in BUILD_TYPE to build_h.jl

Allows for multi.jl to know whether to invoke debug julia or release julia.

Closes #3406