Fix some build anomalies between PROGRAM_NAME and PROGRAM_VERSION