Added DEBUG flag to preprocessor