Fix binary file corruption bug caused by changes in CMakeLists during RPM packaging of tools like monit_device.