If you look at line 92, there is a test for variable WM_CC, but then variable CC is set as $WM_CCX, different from $WM_CC. Hence in my system it CC is set to empty. The same does not happen with $WM_CXX. Could this be a typo when writing $WM_CC?
To upload designs, you'll need to enable LFS. More information