Use boost::ref for Visual Studio / Mike Ladwig