freerdp: fix build and warnings on Mac OS X