Fix julia 0.2 issues.