Revert "changed target framework version to 4.0"

This reverts commit 01c929d24d619836358af6a0dba9ed88028eb478.