Fix compile errors against current FreeRDP HEAD