I assume you are using CMake to build Inkscape? Try this patch, this fixes the problem for CMake-builds.
I assume you are using CMake to build Inkscape? Try this patch, this fixes the problem for CMake-builds.