Generate correct static URLs for static output