Set NDEBUG for the Octopus_lib target, rather than globally
By default, set NDEBUG for the Octopus_lib target when using Release and MinSizeRel build types.
This can be overruled if the user configures with -DOCTOPUS_DEBUG=On
The prior behaviour was to unconditionally set globally for all targets, by default.
Edited by Alex Buccheri