Make CompactConstraint work in release builds

From the documentation on ````NSAssert1````

> Important: Do not call functions with side effects in the condition parameter of this macro. The condition parameter is not evaluated when assertions are disabled, so if you call functions with side effects, those functions may never get called when you build the project in a non-debug configuration.

Because of this our App failed to launch if it was build using a release configuration. This fixes the sides effect and keeps the assertions working in debug builds.