Make static resources relative.