Fixed an issue where the HTTP request wasn't working during build, since it was running under Node.js.