refine numpy cimports.