Fixed x64 compil issue