It did build without errors after I removed the line subConfiguration "bindbc-sdl" "staticBC" from dub.sdl.