fixed build script for .net 3.5