Use the correct command to check CC version.
Add better comments to util functions.