Fixed cmake crashing on 32bit linux