[#2272] Add release flag to make
[#2273] Exclude agent signal handling from release build