Added compatibility with scipy < 0.11.