Fix compilation issues with latest FreeRDP