Update build script for new osx agents.
Generate resgen scripts from classlibs build.