Fix compile fail because of blackfriday interface change