security model compilation fix
Merge pull request #2288 from tduehr/platform_security

security model compilation fix