Fixed crash on startup of 32-bit build