In your case you'll probably have to get rid of the hydraulic brakes, unless you have lots of time on your hands and don't mind reassembly the whole thing every time you take the bike apart. I've never seen hydraulic couplings that would be small enough for 4-5mm brake cables, but who knows they might exist.