Fixed 64-bit architecture compatibility issue