BUG: fix bento build following recent scipy code changes.