Fix compilation with Boost 1.46.1

Fix compilation with Boost 1.46.1: boost::mt19937 instead of boost::random::mt19937.
Can anyone with a newer Boost version please verify that this works.