Revert "Revert "Fix the Mono.Security.dll monotouch build.""

This reverts commit b691ca837185ce1019e9279838c182e5ec43d151.

The original fix is required to build the monotouch profile.