Client: Some fixes connected with move semantic

This changes fix build for old distributives like Ubuntu Lucid or RedHat 6