Fix ufunc test failure on 32 bit platforms