Removed all conditional compilation code

Backported functionality available in .net 4.0+ to .net 2.0
Improved autodetect_git_path test

Still more work to be done