moved client until later to fix linking problems #983