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