Added x64 bit compability to Veil

Adding the 64 bit fix for master branch as well, trying to ensure x64 compatibility to Veil master branch