Fix secmod.h header define

Before, this file could be included more than once causing errors due to the define statement in the header being wrong.