Use of boost::make_shared in wcontrol

Call of make_shared hasn't been performed in place
where it wasn't trivial and require add of const keyword
in the code.