add missing trace defines for release build