Add comment for DEBUG_STATIC to avoid missing dependencies error

Closes #1368