Fix so that secr template compiles on all platforms.