BUG: sparse/dsolve: fix build failure on Numpy 1.5