prevent compiler optimization which lets QVariant store everything as unsigned long long (caused issues in python API)