Use https cdn
Fixing broken build and improving error message