Small fixes to julia compiler