Fix SMP under SDL1.2

Thanks Fuma for the fix