added formula to build rsb opencv components