Fixes #4031 - change TFTP record on build flag change