Fix for systems with old versions of IPython installed