Added 64-bit check for when on 32-bit systems