Fix bug with css compress for static files

Closes #503