* Fixed cofigure.ac with automake v1.9 on Ubuntu 12.04.
* Fixed Random class to compile with boost v1.46 on Ubuntu 12.04.