Some minor additions to your NXTKit

Modified a few things that were causing errors when I was building for archive (release build which builds both 32 and 64 bit version)