Changed ifdefs in core/random to build with GCC 4.6, as suggested by Geoffrey