robotbuilder: use boost::algorithm instead of regex

because the functor variant of boost::regex_replace is not available in
boost 1.40 (it was introduced in 1.42).
embedfile: do not depend on boost>1.40 features