add Conditional Compilation for net4.0; modify csproj file to automate b...

...uild net4.0 version