Updated plugin build script to use .net 4.0