Compatibility hack for IPython 2.1.0. Fixes shashi/IJulia.jl#5