Add missing defines for release build