Fix centOS version detection