In debug mode, use the app's static dir first

In debug mode, files should always be compressed based on the app's
static directory, not the global static directory, where files can be
outdated.