Fixing compilation errors x64