fix sources for .net 3.5 target
fix build script for .net 3.5 target