Fixed compile errors with most recent Random and Logger libraries.