Added undef for sha3 template macros.