Make addin work on VS2010+

The addin will now build and install from any version to any other version.

Also fixes #510 / #511.