critical fix: photoqt crashed on 32 bit systems