build for both numpy 18 and 19