Fix for x64 build