Hi Johan,
There was a thing in the building-inkspace file about strtod.
// double dbl = Glib::Ascii::strtod(srgb.substr(numPos + 3));
std::stringstream( srgb.substr(numPos + 3) ) >> dbl;
That's basically all you have to do, except redeclare dbl outside its scope.