Check ASSETS_DEBUG instead of DEBUG

References #3.