Fixed compilation warnings in 64-bit build