Several bugs - changes for RHEL7

Ok I removed the rule bellow, it was not necessary. But the block_suspend does not compile on RHEL6 and I need to find some way to workaround this. I simple do not want to maintain two branches of this. I will preprocess the files with sed if there is no other way.