build error fix for platforms without npy_float128