Fixed a bug which stores the const reference to a temporary object.

The bug caused the mfast_test with MSVC release build to fail.
Workaround to avoid manually setting BOOST library path to Windows PATH environment variable