Add numpy defines suggested in numpy c-api reference