Remotery: Fix compile errors on Mac