Generate correct urls to static files.