Tweak build scripts so the vs build frontend will work.