Fix static files handling in production