Fixed build issues related to sync getting merged into std
Use () as mutex value instead of uint
Merge pull request #310 from jamesrhurst/sync-fix

Fixed build issues related to sync getting merged into std