Added CMake Limit.

Prevents compile error #504.