Update variable names in main CMakelists.txt and fix small link error in readme.