Fix smp so it compiles