modified LoopToolsWrapper.cpp for the use of the preprocessor macro USE_LOOPTOOLS.