bin: fixed CMake variable names so programs actually compile