add preprocessor flag to define NDEBUG