[boost] boost::bind, problem with result type deduction and calling conventions