xfreerdp: split client into executable and library