compatibility layer for Julia v0.3.2 and v0.3.3