change DEBUG_DIR to DEBUG_SCOPE_DIR (to avoid conflict with rules.mk)