Fixed parsing of the command line in the emulator.
Added the Boost component 'random' in CMakeLists.txt.