Update regcheck.cs

Fix in checking registry, not compatible w/ 32b systems.
Merge pull request #18 from cptnnick/patch-2

Update regcheck.cs