Fix the use of immutable type for Julia 0.1.2