Fix x64 build warnings