Added build script for gmat function plugin and added it to top level build script