Split build script into website and CDN modules