Only using profile selection code if the OSX version is greater than 10.6.