client: fix debug and all compilation