Improve mbug build script.
Improve mbug build script.

foam-framework/foam,foam-framework/foam,foam-framework/foam,osric-the-knight/foam,osric-the-knight/foam,jacksonic/foam,jlhughes/foam,jlhughes/foam,osric-the-knight/foam,jacksonic/foam,jacksonic/foam,jlhughes/foam,mdittmer/foam,foam-framework/foam,osric-the-knight/foam,mdittmer/foam,foam-framework/foam,jlhughes/foam,mdittmer/foam,mdittmer/foam,jacksonic/foam