Add #ifdef SMACK_ENABLED to private code.