Added missing boost::ref

This fixes commit 93bc0e69a41582a93388ba2d376d57f316763d38.

Signed-off-by: K-ballo <k@fusionfenix.com>