removed parts that were commented out and fixed a bug in detection of rdrand.