Fixed build issues related to sync getting merged into std

I think in this case you can have a `mutex: Mutex<()>` ...