Add a simple platform wrapper around OS mutexes. *nix and windows == pthreads freertos = SemaphoreHandle